// @ts-nocheck

const zhCN = {
    name: '姓名',
    tel: '电话',
    save: '保存',
    confirm: '确认',
    cancel: '取消',
    delete: '删除',
    loading: '加载中...',
    noCoupon: '暂无优惠券',
    nameEmpty: '请填写姓名',
    addContact: '添加联系人',
    telInvalid: '请填写正确的电话',
    vanCalendar: {
        end: '结束',
        start: '开始',
        title: '日期选择',
        weekdays: ['日', '一', '二', '三', '四', '五', '六'],
        monthTitle: (year: number, month: number) => `${year}年${month}月`,
        rangePrompt: (maxRange: number) => `最多选择 ${maxRange} 天`,
    },
    vanCascader: {
        select: '请选择',
    },
    vanPagination: {
        prev: '上一页',
        next: '下一页',
    },
    vanPullRefresh: {
        pulling: '下拉即可刷新...',
        loosing: '释放即可刷新...',
    },
    vanSubmitBar: {
        label: '合计:',
    },
    vanCoupon: {
        unlimited: '无门槛',
        discount: (discount: number) => `${discount}折`,
        condition: (condition: number) => `满${condition}元可用`,
    },
    vanCouponCell: {
        title: '优惠券',
        count: (count: number) => `${count}张可用`,
    },
    vanCouponList: {
        exchange: '兑换',
        close: '不使用',
        enable: '可用',
        disabled: '不可用',
        placeholder: '输入优惠码',
    },
    vanAddressEdit: {
        area: '地区',
        postal: '邮政编码',
        areaEmpty: '请选择地区',
        addressEmpty: '请填写详细地址',
        postalEmpty: '邮政编码不正确',
        addressDetail: '详细地址',
        defaultAddress: '设为默认收货地址',
    },
    vanAddressList: {
        add: '新增地址',
    },
};

const enUS = {
    name: 'Name',
    tel: 'Phone',
    save: 'Save',
    confirm: 'Confirm',
    cancel: 'Cancel',
    "delete": 'Delete',
    loading: 'Loading...',
    noCoupon: 'No coupons',
    nameEmpty: 'Please fill in the name',
    addContact: 'Add contact',
    telInvalid: 'Malformed phone number',
    vanCalendar: {
        end: 'End',
        start: 'Start',
        title: 'Calendar',
        weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
        monthTitle: function (year, month) { return "".concat(year, "/").concat(month); },
        rangePrompt: function (maxRange) { return "Choose no more than ".concat(maxRange, " days"); }
    },
    vanCascader: {
        select: 'Select'
    },
    vanPagination: {
        prev: 'Previous',
        next: 'Next'
    },
    vanPullRefresh: {
        pulling: 'Pull to refresh...',
        loosing: 'Loose to refresh...'
    },
    vanSubmitBar: {
        label: 'Total:'
    },
    vanCoupon: {
        unlimited: 'Unlimited',
        discount: function (discount) { return "".concat(discount * 10, "% off"); },
        condition: function (condition) { return "At least ".concat(condition); }
    },
    vanCouponCell: {
        title: 'Coupon',
        count: function (count) { return "You have ".concat(count, " coupons"); }
    },
    vanCouponList: {
        exchange: 'Exchange',
        close: 'Close',
        enable: 'Available',
        disabled: 'Unavailable',
        placeholder: 'Coupon code'
    },
    vanAddressEdit: {
        area: 'Area',
        postal: 'Postal',
        areaEmpty: 'Please select a receiving area',
        addressEmpty: 'Address can not be empty',
        postalEmpty: 'Wrong postal code',
        addressDetail: 'Address',
        defaultAddress: 'Set as the default address'
    },
    vanAddressList: {
        add: 'Add new address'
    }
};

const koKR = {
    name: '이름',
    tel: '핸드폰',
    save: '구하다',
    confirm: '확인',
    cancel: '취소',
    "delete": '삭제',
    loading: '로딩 중...',
    noCoupon: '쿠폰 없음',
    nameEmpty: '이름을 기입해주세요',
    addContact: '새 연락처 추가',
    telInvalid: '잘못된 전화번호',
    vanCalendar: {
        end: '끝',
        start: '시작',
        title: '달력',
        weekdays: [
            '일요일',
            '월요일',
            '화요일',
            '수요일',
            '목요일',
            '금요일',
            '토요일',
        ],
        monthTitle: function (year, month) { return "".concat(year, "/").concat(month); },
        rangePrompt: function (maxRange) { return "".concat(maxRange, " \uC77C \uC774\uB0B4\uB85C \uC120\uD0DD"); }
    },
    vanCascader: {
        select: '선택하다'
    },
    vanPagination: {
        prev: '이전의',
        next: '다음'
    },
    vanPullRefresh: {
        pulling: '당겨서 새로고침...',
        loosing: '새로 고침...'
    },
    vanSubmitBar: {
        label: '총:'
    },
    vanCoupon: {
        unlimited: '제한 없는',
        discount: function (discount) { return "".concat(discount * 10, "% \uD560\uC778"); },
        condition: function (condition) { return "\uCD5C\uC18C ".concat(condition); }
    },
    vanCouponCell: {
        title: '쿠폰',
        count: function (count) { return "".concat(count, " \uAC1C\uC758 \uCFE0\uD3F0\uC774 \uC788\uC2B5\uB2C8\uB2E4"); }
    },
    vanCouponList: {
        exchange: '교환',
        close: '닫다',
        enable: '사용 가능',
        disabled: '없는',
        placeholder: '쿠폰 코드'
    },
    vanAddressEdit: {
        area: '지역',
        postal: '우편 엽서',
        areaEmpty: '접수지역을 선택해주세요',
        addressEmpty: '주소는 비워둘 수 없습니다',
        postalEmpty: '잘못된 우편번호',
        addressDetail: '주소',
        defaultAddress: '기본 주소로 설정'
    },
    vanAddressList: {
        add: '새 주소 추가'
    }
};

const jaJP = {
    name: 'お名前',
    tel: '電話番号',
    save: 'セーブ',
    confirm: '確認',
    cancel: 'キャンセル',
    "delete": '削除',
    loading: '読み込み中...',
    noCoupon: 'クーポンはありません',
    nameEmpty: '名前を入力してください',
    addContact: '連絡先を追加',
    telInvalid: '正しい電話番号を入力してください',
    vanCalendar: {
        end: '終了',
        start: '開始',
        title: '日付選択',
        weekdays: ['日', '月', '火', '水', '木', '金', '土'],
        monthTitle: function (year, month) { return "".concat(year, "\u5E74").concat(month, "\u6708"); },
        rangePrompt: function (maxRange) { return "".concat(maxRange, "\u65E5\u307E\u3067\u9078\u629E"); }
    },
    vanCascader: {
        select: '選択する'
    },
    vanPagination: {
        prev: '前のページ',
        next: '次のページ'
    },
    vanPullRefresh: {
        pulling: 'プルダウンして更新...',
        loosing: 'リリース時に更新...'
    },
    vanSubmitBar: {
        label: '合計:'
    },
    vanCoupon: {
        unlimited: '無制限',
        discount: function (discount) { return "".concat(10 - discount, "\u5272\u5F15"); },
        condition: function (condition) { return "".concat(condition, "\u5186\u4EE5\u4E0A\u3067\u5229\u7528\u53EF\u80FD"); }
    },
    vanCouponCell: {
        title: 'クーポン',
        count: function (count) { return "".concat(count, "\u679A\u304C\u5229\u7528\u53EF\u80FD"); }
    },
    vanCouponList: {
        exchange: '両替',
        close: '使用禁止',
        enable: '利用可能',
        disabled: '利用できません',
        placeholder: '割引コードを入力してください'
    },
    vanAddressEdit: {
        area: '地域',
        postal: '郵便番号',
        areaEmpty: '地域を選択してください',
        addressEmpty: '詳しい住所を入力してください',
        postalEmpty: '間違った郵便番号',
        addressDetail: '詳しい住所',
        defaultAddress: 'デフォルトの住所に設定'
    },
    vanAddressList: {
        add: '住所を追加'
    }
};
window.VantZhCN = zhCN;
window.VantEnUS = enUS;
window.VantKoKR = koKR;
window.VantJaJP = jaJP;